<template>
	<view class="flex flex-ai-center ">
		<image :src="$originOssUrl + '/static/icon/cpms-left.png'" class="img-size"></image>
		<view class="font-color-222 mlr-12">{{ title }}
		<slot></slot>
		</view>
		<image :src="$originOssUrl + '/static/icon/cpms-left.png'" class="img-size1"></image>
	</view>
</template>

<script>
	export default {
		name:"w-icon-title",
		props:{
			title:{
				type:String,
				default:''
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.img-size {
		width: 42rpx;
		height: 26rpx;
	}
	.img-size1 {
		width: 42rpx;
		height: 26rpx;
		transform: rotateY(-180deg);
	}
</style>